//package com.czy.config.mybatisplus;
//
//import com.baomidou.mybatisplus.core.injector.AbstractMethod;
//import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;
//import com.baomidou.mybatisplus.extension.injector.methods.additional.InsertBatchSomeColumn;
//import org.springframework.stereotype.Component;
//
//import java.util.List;
//
///**
// * 拓展mybatisPlus 支持批量插入
// * @author czy
// * @date 2022-3-30 18:03
// */
//public class ExpandSqlInjector extends DefaultSqlInjector {
//    @Override
//    public List<AbstractMethod> getMethodList(Class<?> mapperClass) {
//        List<AbstractMethod> methodList = super.getMethodList(mapperClass);
//        methodList.add(new InsertBatchSomeColumn());
//        return methodList;
//    }
//}
